/*
 * @Descripttion: 
 * @version: @ 1.0.0
 * @Author: 朱江洲
 * @Date: 2022-02-11 13:19:07
 * @LastEditors: 朱江洲
 * @LastEditTime: 2022-02-11 16:40:18
 */
import request from "@/utils/request.js";


// 看板数据
export const board = data => {
    return request({
        method: 'post',
        url: '/cHomePage/board',
        data
    })
}

// 趋势图
export const trendChart = params => {
    return request({
        method: 'get',
        url: '/cHomePage/trendChart',
        params
    })
}
// - 遗忘提醒
export const remind = data => {
    return request({
        method: 'post',
        url: '/cHomePage/remind',
        data
    })
}
// - 即将到期证书列表
export const certDueSoon = data => {
    return request({
        method: 'post',
        url: '/cHomePage/certDueSoon',
        data
    })
}
// - 过期证书列表
export const certOverdue = data => {
    return request({
        method: 'post',
        url: '/cHomePage/certOverdue',
        data
    })
}
// - 即将到期资质列表
export const qualDueSoon = data => {
    return request({
        method: 'post',
        url: '/cHomePage/qualDueSoon',
        data
    })
}
// - 到期资质列表
export const qualOverdue = data => {
    return request({
        method: 'post',
        url: '/cHomePage/qualOverdue',
        data
    })
}
// - 到期借还列表
export const borrowReturnOverdue = data => {
    return request({
        method: 'post',
        url: '/cHomePage/borrowReturnOverdue',
        data
    })
}